package egs;


public class ArrayCopy {

	public static void main(String[] args) {
  char[] copyFrom={'c','h','a','n','d','i','n','i','H','a','r','i','d','a','s'};
	char[] copyTo=new char[7];
	
	System.arraycopy(copyFrom, 8, copyTo, 0, 7);
	
	System.out.println(new String(copyTo));
	
	}

}
